<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>请先缴费</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1.0 maximum-scale=1.0 user-scalable=yes" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/mGrzxTeacher.css?v=4.8" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/greenStyle.css?v=4.80120" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/pageContent.css?v=4.80120" />
<style>
.payWeixt {padding: 10px 5px;}
.payWeixt a {width: 100%;display: block;border-radius: 5px;padding: 10px 0; text-align: center;background: #17b056;color: #fff;}
</style>
</head>
<body>
<div id="titlebar" class="header mainColor">
	<div class="l"><a class="backOff" href="javascript:history.go(-1);"></a></div>
	<div class="m">
        <span style="font-size: 18px">{if !empty($item['description'])}{$item['name']}{else}请付费后使用此功能{/if}</span>   
	</div>
</div>
<div id="titlebar_bg" class="_header"></div>
	<div class="content">
		<br/>{if !empty($item['description'])}{if $type == 1}<p style="color:red;">抱歉你还未付费或已到期，请前往个人中心缴费</p><br/>{else if $type == 2} <p style="color:red;">抱歉此功能暂未开放,开放时间为:{php echo date('Y年m月d',$item['starttime'])}</p><br/>{/if}
		{php echo htmlspecialchars_decode($item['description'])}{else}本收费项目没有录入详情介绍{/if}<br/>			
	</div>
	{if $type == 1}	
	<div class="payWeixt">
		<a href="{php echo $this->createMobileUrl('order', array('schoolid' => $schoolid), true)}">前往支付</a>	
	</div>
	{/if}	
	<div class="campusDiv">
		<div class="campusTop">
			<div class="campusLogo">
				<img src="{php echo tomedia($school['logo']);}" />
			</div>
			<div class="campusInfo">
				<div class="info"><span>地址：{$school['address']}</span></div>
				<div class="info"><span>电话：{$school['tel']}</span></div>
			</div>
			<div class="cl"></div>
		</div>
		<div class="campusBottom">
			<div class="tips">扫一扫下方二维码，关注校园</div>
			<img id="qrcodeurl" alt="" src="{if !empty($school['qroce'])}{php echo tomedia($school['qroce']);}{else}{$_W['attachurl']}qrcode_{$_W['acid']}.jpg?{php echo time()}{/if}">
		</div>			
	</div>
 {php include $this->template('comad');}
 {php include $this->template('footer');} 
</body>

</html>